package Homework.Top04;

public class Student {
    String stuName;
    int  stuAge;
    String stuSex;

    public Student(String stuName,int stuAge,String stuSex){
        this.stuName=stuName;
        this.stuSex=stuSex;
        this.stuAge=stuAge;
    }
    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public int getStuAge() {
        return stuAge;
    }

    public void setStuAge(int stuAge) {
        this.stuAge = stuAge;
    }

    public String getStuSex() {
        return stuSex;
    }

    public void setStuSex(String stuSex) {
        this.stuSex = stuSex;
    }
    public void show(){
        System.out.println("我是"+stuName+" 今年"+stuAge+stuSex);
    }
}
